.code_detail {
  height: calc(100vh - 92px);
  box-sizing: border-box;
  padding: 12px;
  display: flex;
  flex-direction: column;
  row-gap: 12px;

  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background-color: #fff;
    flex-wrap: wrap;
    gap: 10px;

    .btn_group,
    .status {
      display: flex;
      align-items: center;
      column-gap: 5px;
    }

    .status {
      .title {
        font-size: 14px;
        font-weight: bold;
      }
    }
  }

  .body {
    height: calc(100% - 64px);
    overflow: auto;
    display: flex;
    flex-direction: column;
    row-gap: 12px;

    // &::-webkit-scrollbar {
    //   display: none;
    // }

    .basic_info {
      display: flex;
      flex-direction: column;
      row-gap: 12px;
      box-sizing: border-box;
      padding: 16px;

      .title {
        font-size: 14px;
        font-weight: bold;
        padding-left: 6px;
        border-left: 3px solid #007cff;
      }

      .info_list {
        display: flex;
        flex-wrap: wrap;
        column-gap: 100px;

        // flex-wrap: wrap;
        // justify-content: space-between;
        // padding: 0 16px;

        .info_item_container {
          display: flex;
          flex-direction: column;

          .info_item {
            height: 26px;
            line-height: 26px;
            display: flex;
            align-items: center;
            column-gap: 5px;
         
            .label{
              text-align: right;
              color: #606266;
            }

            .value {
              white-space: nowrap;
            }
          }
        }
      }
    }

    .table_code_info {
      display: flex;
      column-gap: 12px;
      flex: 1;
      height: 0;

      .coded_message {
        background-color: #fff;
        box-sizing: border-box;
        padding: 7px 12px;
        width: 240px;

        .title {
          display: flex;
          column-gap: 5px;
          align-items: center;
          height: 39px;

          .text {
            font-size: 14px;
            font-weight: bold;
            padding-left: 6px;
            border-left: 3px solid #007cff;
          }
        }

        .line {
          width: 100%;
          height: 1px;
          background-color: #ebeef5;
        }

        .form_list {
          margin-top: 12px;

          .bor_link {
            border-top: 1px solid #e7e3e3;
            margin: 10px 0;
          }

          .security_code {
            height: 32px;

            :deep(.el-form-item__content) {
              align-items: flex-start;

              .security_code_content {
                line-height: 14px;
              }
            }
          }

          :deep(.el-form-item__label) {
            font-size: 12px;
            color: #606266;
            height: auto;

            .security_code_label {
              line-height: 14px;
              text-align: center;

              div:last-child {
                color: #b9b9b9;
              }
            }
          }

          :deep(.el-form-item__content) {
            font-size: 12px;
            // color: #999;
          }

          .state {
            display: inline-block;
            height: 32px;
            line-height: 32px;
            font-weight: 400;
            border-radius: 2px;
            font-size: 12px;
            color: #00c0c0;
          }
        }
      }

      .tabs_container {
        width: calc(100% - 252px);
        // max-height: 600px;
        background-color: #fff;
        box-sizing: border-box;
        padding: 7px 12px;
        padding-bottom: 10px;

        .tabs_header {
          display: flex;
          justify-content: space-between;
          align-items: center;
          border-bottom: 1px solid #ebeef5;
          margin-bottom: 12px;

          .operated_log_search {
            display: flex;
            column-gap: 5px;

            :deep(.el-input) {
              width: 120px;
            }
          }
        }

        .tabs_content {
          height: calc(100% - 51px);

          .history_order {
            max-height: 100%;
          }

          .update_customer_log,
          .product_resource {
            height: 100%;
            display: flex;
            flex-direction: column;
            row-gap: 12px;

            .table {
              max-height: calc(100% - 40px);
            }

            .pagination {
              display: flex;
              justify-content: flex-end;
            }
          }
        }

        :deep(.el-tabs) {
          .el-tabs__header {
            margin: 0;
            padding: 0;
          }
        }

        :deep(.el-loading-spinner) {
          margin: auto;
        }

        .change_alter {
          display: flex;
          justify-content: flex-start;
          align-items: center;

          .img_zhankai {
            width: 14px;
            height: 14px;
            margin-left: 20px;
            cursor: pointer;
          }
        }

        :deep(.el-table) {
          .cell {
            // text-align: center;
            font-size: 12px;
          }
        }

        .span_state {
          display: inline-block;
          height: 24px;
          line-height: 24px;
          font-weight: 400;
          border-radius: 2px;
          font-size: 12px;
          padding: 0 10px;
        }

        .state1 {
          color: #a06eff;
          border-color: #a06eff;
          background-color: #f3ebff;
        }

        .state2 {
          color: #00c0c0;
          border-color: #00c0c0;
          background-color: #ebf6f6;
        }

        .state3 {
          color: #007cff;
          border-color: #007cff;
          background-color: #eaeff8;
        }

        .state4 {
          color: #122954;
          border-color: #122954;
          background-color: #eaecee;
        }
      }
    }
  }
}

.app-container {
  padding-bottom: 0;
}

:deep(.el-loading-spinner) {
  margin-top: calc(100% - 66%);
}

.el-tag.el-tag--success {
  --el-tag-text-color: #00c0c0;
  --el-tag-bg-color: #ebf6f6;
  --el-tag-border-color: #ebf6f6;
  --el-tag-hover-color: #00c0c0;
}

.el-tag.el-tag--info {
  --el-tag-border-color: var(--el-color-info-light-9);
}

.el-tag {
  --el-tag-border-color: var(--el-color-primary-light-9);
}

.el-tag.el-tag--warning {
  --el-tag-border-color: var(--el-color-warning-light-9);
}

.basic_info {
  background-color: #fff;
}

.app-container-inner {
  .title_bl {
    border-left: #007cff solid 3px;
    padding-left: 5px;
    font-size: 14px;
    margin: 5px 10px 0;
  }

  .basic_information {
    padding: 10px 10px 0;
    margin: 0 8px;

    :deep(.el-form-item__label) {
      color: #000;
      font-size: 12px;
    }

    .ml {
      font-size: 12px;
      color: #999;
    }

    .state {
      display: inline-block;
      height: 24px;
      line-height: 24px;
      font-weight: 400;
      border-radius: 2px;
      font-size: 12px;
      padding: 0 10px;
      color: #00c0c0;
      border-color: #00c0c0;
      background-color: #ebf6f6;
    }
  }
}

.el-main {
  --el-main-padding: 0px;
  display: flex;
  flex-direction: column;
  flex: 1;

}

:deep(.change-dialog) {
  .cards {
    .card {
      margin-top: 15px;
      display: flex;
      align-items: center;

      .input-w {
        margin-left: 20px;
        width: 350px;
      }

      .first {
        margin-left: 20px;
      }

      .w350 {
        width: 350px;
        margin-left: 20px;
      }
    }
  }

  .btns {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 25px;
    margin-bottom: 10px;
  }
}

:deep(.check-dialog) {
  .addr-item {
    width: 100% !important;
  }

  .cards {
    .el-form-item {
      margin-bottom: 12px;
    }
  }

  .btns {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 25px;
    margin-bottom: 10px;
  }
}

:deep(.el-drawer__body) {
  padding: 0 20px;
}

.dialog-footer {
  .btn_dialog_Cancel {
    width: 60px;

    &:hover {
      border: 1px solid #e5e5e5;
      color: #999;
      background-color: #e5e5e5;
    }
  }
}

.footer {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

:deep(.el-pagination__sizes + button.btn-prev[type='button']) {
  margin-left: 20px;
}

.btn_save {
  width: 3.2vw;
}

.btn_cancel {
  width: 3.2vw;
}